package com.suzhuoke.ncpsy.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * @author 
 */
@ApiModel("")
@TableName("tb_tn")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Tn extends Model<Tn> implements Serializable {
    private static final long serialVersionUID = 112121321212L;
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /**
     * 模板id
     */
    @ApiModelProperty("模板id")
    private Integer tId;

    /**
     * 环节id
     */
    @ApiModelProperty("环节id")
    private Integer lId;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private Date createTime;

    /**
     * 修改时间
     */
    @ApiModelProperty("修改时间")
    private Date updateTime;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}